package terra.model.runnable;

import terra.model.World;
import terra.model.object.GameObject;

public class ObjectRemover implements Runnable {

	GameObject removed;

	public ObjectRemover(GameObject object) {
		removed = object;
	}

	@Override
	public void run() {
		removed.setRemove(true);
		World.getInstance().removeObject(removed);
	}

}
